<template>
  <basic-container>
    <h3 class="avue">客户经理排名</h3>
    <avue-crud :option="option" :data="data">
      <template slot="menu" slot-scope="{}">
        <router-link :to="{path:'/data/park'}">
          <el-button type="text" size="small">园区列表</el-button>
        </router-link>
      </template>
    </avue-crud>
  </basic-container>
</template>

<script>
export default {
  data() {
    return {
      option: {
        index: true,
        border: true,
        addBtn: false,
        editBtn: false,
        delBtn: false,
        menuWidth: 120,
        menuAlign: 'center',
        align: 'center',
        column: [
          {
            label: '姓名',
            prop: 'name',
            search: true
          },
          {
            label: '所属支行',
            prop: 'zh'
          },

          {
            label: '管理园区数',
            prop: 'yq'
          },
          {
            label: '管理企业数',
            prop: 'qy'
          },

          {
            label: '普惠金融指数',
            prop: 'zs'
          },
          {
            label: '排名',
            prop: 'phpm'
          },
          {
            label: '企业贡献度',
            prop: 'gxd'
          },
          {
            label: '排名',
            prop: 'gxdpm'
          }
        ]
      },
      data: [
        {
          name: '张健康',
          yq: 6,
          qy: 169,
          zh: '高新支行',
          zs: 76,
          gxd: 68,
          phpm: 1,
          gxdpm: 2
        },
        {
          name: '李可可',
          yq: 3,
          qy: 131,
          zh: '寒亭支行',
          zs: 67,
          gxd: 72,
          phpm: 2,
          gxdpm: 1
        },
        {
          name: '王丹丹',
          yq: 1,
          qy: 20,
          zh: '奎文支行',
          zs: 56,
          gxd: 42,
          phpm: 3,
          gxdpm: 3
        }
      ]
    }
  }
}
</script>

<style>
</style>
